/*
 * Filename:    WarningApprovalResultServiceImpl.java
 * Copyright:   2014 中国平安保险（集团）股份有限公司 版权所有
 * Company:     平安科技养老险及健康险系统开发部
 * Create at:   2014年11月13日
 */
package com.paic.mhis.hcpms.warning.biz.service.impl;

import java.util.List;
import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.paic.mhis.hcpms.warning.biz.service.WarningApprovalResultService;
import com.paic.mhis.hcpms.warning.dao.WarningApprovalResultDAO;
import com.paic.mhis.hcpms.warning.dto.WarningApprovalResultDTO;

@Service("warnApprovalResultService")
public class WarningApprovalResultServiceImpl implements WarningApprovalResultService {
	@Autowired
	private WarningApprovalResultDAO warnApprovalResultDao;

	@Override
	public List<WarningApprovalResultDTO> getApprovalResultData(Map<String, Object> paramMap) {
		// TODO Auto-generated method stub
		return warnApprovalResultDao.getApprovalResultData(paramMap);
	}

	@Override
	public int updateApprovalResultData(WarningApprovalResultDTO approvalResultDTO) {
		// TODO Auto-generated method stub
		return warnApprovalResultDao.updateApprovalResultData(approvalResultDTO);
	}

}
